package com.shengcheng.service;

import com.shengcheng.query.AlbumIndexQuery;
import com.shengcheng.vo.AlbumSearchResponseVo;

import java.io.IOException;
import java.util.HashSet;
import java.util.List;
import java.util.Map;

public interface SearchService {
    void onSaleAlbum(Long albumId);

    void offSaleAlbum(Long albumId);

    List<Map<Object, Object>> getChannelData(Long category1Id) throws IOException;

    AlbumSearchResponseVo search(AlbumIndexQuery albumIndexQuery);

    HashSet<String> autoCompleteSuggest(String keyword);

    Map<String, Object> getAlbumDetail(Long albumId);

    void updateRanking();

}
